﻿@model JewererBasic.Models.Product_Component_Dummy    
<table>    
    <tr>
        <td>
            <div>
                <strong>Component</strong>
            </div>
            @Html.DropDownListFor(model =>model.IdComponentCom, ViewBag.IdComponent as SelectList)
        </td>
        <td>
            <div>
                <strong>Qty</strong>
            </div>
            @Html.EditorFor(model => model.QtyCom)
            @Html.ValidationMessageFor(model => model.QtyCom)
        </td>
        <td>
            <div>
                <strong>Weight</strong>
            </div>
            @Html.TextBoxFor(model => model.WeightCom,new {@class ="input" , style = "width:100px;"})
            <input type="submit" value="Save" />
        </td>
    </tr>
</table>